main.js ➔ importAll   A
last analyzed

Complexity

Conditions 2

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 2
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
import './scripts/publicPath'
2
import 'console-polyfill'
3
import 'normalize.css/normalize.css'
4
import './main.scss'
5
import $ from 'jquery'
6
import feather from 'feather-icons'
7
8
import installCE from 'document-register-element/pony'
9
10
window.jQuery = $
11
12
window.lazySizesConfig = window.lazySizesConfig || {}
13
window.lazySizesConfig.preloadAfterLoad = true
14
require('lazysizes')
15
16
$(document).ready(function () {
17
  feather.replace({
18
    'stroke-width': 1
19
  })
20
})
21
22
installCE(window, {
23
  type: 'force',
24
  noBuiltIn: true
25
})
26
27
function importAll (r) {
28
  r.keys().forEach(r)
29
}
30
31
importAll(require.context('../Components/', true, /\/script\.js$/))
32